package enums;

import lombok.extern.slf4j.Slf4j;

import static enums.SpicinessEnum.*;

@Slf4j
public class Burrito2 {
    SpicinessEnum degree;
    public Burrito2(SpicinessEnum degree) {
        this.degree = degree;
    }
    @Override
    public String toString() {
        return "Burrito is "+ degree;
    }
    public static void main(String[] args) {
        log.error(String.valueOf(new Burrito2(NOT)));
        log.error(String.valueOf(new Burrito2(MEDIUM)));
        log.error(String.valueOf(new Burrito2(HOT)));
    }
}